Return to doc.sitecore.com

5.  The Schedule Tasks Section
Prev Next

The User cache should be refreshed periodically, which can be an expensive process. 

The Clear cache task is intended to run under any mode available. It updates security as if a User clicks the Update security link in the LDAP configuration application. The only difference is that when a scheduled task runs, it will delete the temporary Users if the appropriate checkbox is selected. This option is disabled when security is updated manually, because this action may lead to the data loss if a User works in Sitecore at the moment.

For example, if a scheduled task is set to run every 15 minutes, and the value of RunTaskAt field is set to 3, then it will run 4 times between 3 and 4 a.m.

If a scheduled task is set to run every 15 minutes, and the value of the RunTaskAt field is set to -1 or left blank, then the task will run every 15 minutes, as if there is no RunTaskAt field at all.

If any other value is entered, the task will run, but will do nothing.

 

Setting Description Default Example
Run task at Defines the frequency of (or disables) the task. The task may run at a particular time, or run and do nothing (that is, be disabled) 3 5
Delete temporary folder In Live validation mode, truncate /sitecore/users/temporary after executing the LDAP scheduled task. Yes No
Update users membership Indicates if the LDAP scheduled task should update the Users’ memberships.   In Live and Mixed validation modes the User’s membership is retrieved when the User logs on. Yes No

Prev Next